/**

    @desc 导航条
*/


*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
.nav{
	top: 0;
    width: 100%;
    height: 72px;
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.3) ;
    position: fixed;
    background-color: #fff;
    z-index: 3;
}
.nav .ndiv{
    width: 70%;
    margin: 0 auto;
}

.nav ul{
    float: left;
    display: flex;
    margin-right: 30px;
    line-height: 72px;
    font-size: 16px;
}
.nav ul:nth-child(3){
    float: right;
}

.logo{
    display: flex;

}

.nav li{
    width: 70px;
    text-align: center;
    color: #888;
}
.nav li:hover .fcolor{
    color: black;
}
.rig{
	display: flex;
	align-items: center;
}
.xxtz img{
	width: 25px;height: 25px;
}
.dlxx{
	display: none;
}
.grzy img{
	width: 30px;
	height: 30px;
	overflow: hidden;
}
.nav a{
    color: #888;
}
.nav input{
    border: 1px solid #f01414;
    width: 210px;
    height: 38px;
    
}
.nav button{
    
    width: 80px;
    height: 40px;
    background-color: #f01414 ;
    color: #fff;
    border: none;
    box-sizing: border-box;
     
}
.nav input[text]:focus {
    border:1px solid #f01414;
}
.nav input:focus-visible {
    border:1px solid #f01414 !important;
    outline: none;
}

.gwc{
    margin: 26px 30px 0;
    width: 25px;
    height: 25px;
}
.nav span{
	cursor: pointer;
}
.nav span:hover{
	
    color: red;
}
.nav p{
    line-height: 40px;
}
.nav p:hover a{
    color: #000;
}
.nav li div{
    margin-top: -20px;
    background-color: #fff;
    border-radius: 2px;
    display: none;
    
}
.shangyehezuo:hover .syhz{
    display: block;
}
.faxian:hover .fxd{
    display: block;
}



/* 模态框整体样式 */
.modal {
    display: none; /* 初始隐藏模态框 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* 半透明背景 */
}

/* 模态框内容区域样式 */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
}

/* 关闭按钮样式 */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 页面内容样式 */
.content {
    height: 2000px; /* 假设页面内容比较长，这里设置一个较大的高度 */
    padding: 20px;
	
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 50%; /* 垂直方向上居中 */
    right: 20px; /* 距离页面右侧20px */
    transform: translateY(-50%); /* 垂直方向上进行自身高度一半的偏移来实现居中 */
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar ul {
    list-style: none;
    display: flex;
    flex-direction: column; /* 让列表项垂直排列 */
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}
.navbar li {
    margin: 10px 0;
	text-align: center;
}
.navbar a {
	
    text-decoration: none;
    color: gray;
}
.navbar a:hover {
    color: red;
}
